package org.yogurtcat.server.common.payment.domain;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import org.yogurtcat.server.common.constant.PaymentType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PaymentVO {
	
	/**
	 * 主键id
	 */
	private Long id;
	
	/**
	 * 支付类型
	 */
	@Enumerated(EnumType.ORDINAL)
	private PaymentType type;
	
	/**
	 * appID
	 */
	private String appID;
	
	/**
	 * mchID
	 */
	private String mchID;
	
	/**
	 * certStream
	 */
	private byte[] certStream;
	
	/**
	 * 证书名
	 */
	private String certName;
	
	/**
	 * apiSecret
	 */
	private String apiSecret;

}
